package com.frejoys.common.dto.admin;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


@Data
public class StoreAddDto{

    // 店名
    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "name", description = "店名", required = false, defaultValue = "xx旗舰店")
    private String name;

    // @NotNull(message = "{600}")
    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "categoryId", description = "品类id", required = false, defaultValue = "1")
    private Integer categoryId;

    // Logo
//    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "logo", description = "logo", required = false, defaultValue = "1.png")
    private String logo;

    // 店封面广告图
//    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "cover", description = "店封面广告图", required = false, defaultValue = "1.png")
    private String cover;

    @Schema(type = "String", name = "coverShow", description = "店铺展示图", required = false, defaultValue = "1.png")
    private String coverShow;

//    // 省
//    @Schema(type = "String", name = "province", description = "省", required = false, defaultValue = "1")
//    private String province;
//
//    // 市
//    @Schema(type = "String", name = "city", description = "市", required = false, defaultValue = "1")
//    private String city;

    // 区县
    @Schema(type = "String", name = "district", description = "区县", required = false, defaultValue = "511602")
    private String district;

    // 街道地址
    @Schema(type = "String", name = "street", description = "街道地址", required = false, defaultValue = "1")
    private String street;

    // 地址
    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "address", description = "地址", required = false, defaultValue = "xx小区602")
    private String address;

    // 经度
    @Schema(type = "Double", name = "lng", description = "经度", required = false, defaultValue = "104.1")
    private Double lng;

    // 纬度
    @Schema(type = "Double", name = "lat", description = "纬度", required = false, defaultValue = "30.1")
    private Double lat;

    // 电话
    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "tel", description = "电话", required = false, defaultValue = "13800138000")
    private String tel;

    // 店类型：0无，1品牌店
//    @Schema(type = "Integer", name = "type", description = "店类型：0无，1品牌店", required = false, defaultValue = "1")
//    private Integer type;

    // 上架状态：0下架中，1申请上架，2上架中
//    @Schema(type = "Integer", name = "shelves", description = "上架状态：0下架中，1申请上架，2上架中", required = false, defaultValue = "1")
//    private Integer shelves;

    // 营业起始时间，小时00
    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "startTime", description = "营业起始时间，小时00", required = false, defaultValue = "09")
    private String startTime;

    // 营业结束时间，小时24
    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "endTime", description = "营业结束时间，小时24", required = false, defaultValue = "21")
    private String endTime;


}
